import axios from '@/request.js'


export function getnotice(page){
    
    return axios.get(`/notice?page=${page}`);
} 

export function create(data) {
    return axios.post("/notice/create", data);
  }

export function update(id,data) {
  return axios.post(`/notice/update?id=${id}`, data);
}

export function del(id){
  return axios.post(`/notice/delete/id/${id}`);
}
